package com.spring.design.builder;

/**
 * 抽象建造者
 */
public abstract class Builder {

    protected Product product = new Product();

    //建造流程
    public abstract void builderBisic();
    public abstract void  ilderWalls();
    public abstract void roofed();

    //返回
    public  Product build(){
        return product;
    }

}
